package org.example.spring_book.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName PageResult
 * @Description TODO
 * @Author wangxiaodong
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class PageResult<T> {
    private List<T> records; // 当前⻚数据
    private Integer count; //所有记录数
    private PageRequest pageRequest;
}